package org.makcro.sms.services.chat.web.client.services.message;

import java.util.List;

import org.makcro.sms.services.chat.web.shared.dto.BulkMessageDto;

import com.extjs.gxt.ui.client.data.PagingLoadConfig;
import com.extjs.gxt.ui.client.data.PagingLoadResult;
import com.google.gwt.user.client.rpc.AsyncCallback;

public interface BulkServiceAsync {

	void sendBulk(String messageText, String signature, List<String> receivers, AsyncCallback<Integer> callback);

	void search(PagingLoadConfig loadConfig, AsyncCallback<PagingLoadResult<BulkMessageDto>> callback);

}
